<?php echo $header; ?>


<style type="text/css" media="all">@import "<?php if(isset($css)) echo $css;?>usercp.css";</style>
<style type="text/css" media="all">@import "<?php if(isset($css)) echo $css;?>common.css";</style>
<script type="text/javascript" src="<?php if(isset($js)) echo $js;?>dangky.js"></script>



<script language="javascript">
jQuery.noConflict();

function changeKeyboard(id) {
	if (document.getElementById(id).className == "searchLeftOff"){
		//setMethod(1);
		Mudim.SetMethod(2);
		document.getElementById(id).className = "searchLeftOn";
	} 
	else{
		//setMethod(-1);
		Mudim.SetMethod(0);
		document.getElementById(id).className = "searchLeftOff";
	}      
	return true;
}
function doSubmit(){	
	if (document.frmSearch.searchword.value.length<3 || document.frmSearch.searchword.value == "Nháº­p tá»« khÃ³a tÃ¬m kiáº¿m") {
		alert("Tá»« khÃ³a khÃ´ng Ä‘Æ°á»£c Ä‘á»ƒ trá»‘ng vÃ  pháº£i dÃ i hÆ¡n 2 kÃ½ tá»±!");
		document.frmSearch.searchword.focus();
		return false;
	}
	document.frmSearch.submit();
	return;
}
function OnOf(obj) {
	obj = document.getElementById(obj);
	if(obj.className=="Header")
		obj.className="HeaderPlus";
	else
		obj.className="Header";
}


</script>

<script type="text/javascript">


jQuery(document).ready(function(){	
	jQuery(".notify_head_icon").mouseover(function(){
		jQuery(this).addClass('notify_head_icon_hover');
	})
	.mouseout(function() {
		jQuery(this).removeClass('notify_head_icon_hover');
	});
	
	jQuery(".typing_icon").mouseover(function(){
		jQuery(this).addClass('typing_icon_hover');
	})
	.mouseout(function() {
		jQuery(this).removeClass('typing_icon_hover');
	});
	
	jQuery(".view_cart").mouseover(function(){
		jQuery(this).addClass('view_cart_hover');
	})
	.mouseout(function() {
		jQuery(this).removeClass('view_cart_hover');
	});
});


</script>


<!--[if lt IE 7]>
<script defer type="text/javascript" src="javascript/jquery/jquery.ifixpng.js"></script>
<script language="javascript">
// apply to all png images 
jQuery(function(){
  // Document is ready
  jQuery('img[@src$=.png]').ifixpng();
});
</script> 
<![endif]-->

<script type="text/javascript">
 
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-16561602-1']);
  _gaq.push(['_trackPageview']);
 
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
 
</script>



<div id="ContentLayout">

	<table style="border-collapse: collapse;" id="table2" width="100%" border="0" cellpadding="0">
			<tr>
            	<td id="ContentLeft" valign="top">                
				<script type="text/javascript" src="register.php_files/choose_city.js"></script>
<script type="text/javascript" src="register.php_files/rounded-corners.js"></script>
<script type="text/javascript" src="register.php_files/form-field-tooltip.js"></script>

<link rel="stylesheet" href="register.php_files/form-field-tooltip.css" type="text/css">

<script language="javascript">

function agreeTerm() {
	if(document.getElementById("chkTerm").checked==true) {
		document.getElementById("btnRegSubmit").disabled=false;
		document.getElementById("btnRegSubmit").className='button';
	}
	else {
		document.getElementById("btnRegSubmit").disabled=true;
		document.getElementById("btnRegSubmit").className='buttonDisabled';
	}
}


</script>
<?php if($error_firstname || $error_password || $error_confirm ||$error_email){?>
<div class="divError">
	<div class="Header"><?php if(isset($text_loi)) echo $text_loi;?></div>
	
	<div class="Content">
	
		<ul>
		<?php if($error_firstname){?>
		<li type='square' class='warn_intend'> <?php  { echo $error_firstname; }?></li>
		<?php }?>
		<?php if($error_password){?>
		<li type='square' class='warn_intend'><?php { echo $error_password; }?></li>
		<?php }?>
		<?php if($error_confirm){?>
			<li type="square" class="warn_intend"><?php { echo $error_confirm; }?></li>
		<?php }?>
		<?php if($error_email){?>
		<li type='square' class='warn_intend'><?php { echo $error_email; }?></li>
		<?php }?>
	
		
		</ul>
	
	</div>

</div>
	<?php }?>
<div class="divLayout">
	<div class="Header"><span><?php if(isset($text_dangky)) echo $text_dangky;?></span></div>
	<div class="Content">
		 
		<?php if(isset($text_loiich)) echo $text_loiich;?>
		<br>
	  	  	  <form method="post" action="<?php echo str_replace('&', '&amp;', $action); ?>" name="itemForm" id="itemForm">
		<table class="RegisterPage" width="80%" cellpadding="0" cellspacing="0">
		<tr>
			 <td class="label"><?php if(isset($text_email)) echo $text_email;?></td>
			 
			 <td class="star" valign="top">
			 <input tooltiptext="Vui lÃ²ng nháº­p chÃ­nh xÃ¡c e-mail cá»§a báº¡n" name="email" id="email" class="txt" size="30" maxlength="100" type="text"> <span class="risk">*</span><div class="error" id="error_email"></div>
             
		</tr>
		
		<tr>
			 <td class="label"><?php if(isset($text_ten)) echo $text_ten;?></td>
			 
			 
			 <td class="star" valign="top">
			 <input tooltiptext="Vui lÃ²ng cung cáº¥p tÃªn cá»§a báº¡n Ä‘á»ƒ tin rao Ä‘Æ°á»£c Ä‘Ã¡nh giÃ¡ cao hÆ¡n" name="name" class="txt" size="30" maxlength="100" type="text" id= "name"> <span class="risk">*</span><div class="error" id="error_name"></div></td>
		</tr>
		<tr>
			 <td class="label"><?php if(isset($text_matkhau)) echo $text_matkhau;?>
			 
			 </td>
			 <td class="star" valign="top">
			 <input tooltiptext="Máº­t kháº©u tá»‘i thiá»ƒu pháº£i chá»©a 6 kÃ½ tá»±, khÃ´ng sá»­ dá»¥ng khoáº£ng tráº¯ng" name="passwd" id= "passwd" class="txt" size="16" maxlength="16" value="" type="password"> <span class="risk">*</span><div class="error" id="error_pass"></div></td>
		</tr>
		<tr>
			 <td class="label"><?php if(isset($text_xacnhan)) echo $text_xacnhan;?>
			 
			 </td>
			 <td class="star" valign="top">
			 <input class="txt" name="passwd2" id= "passconf" size="16" maxlength="16" value="" type="password"> <span class="risk">*</span><div class="error" id="error_pass"></div></td>
		</tr>
		<tr>
			 <td class="label"><?php if(isset($text_dienthoai)) echo $text_dienthoai;?></td>
			 <td class="star" valign="top">
			  <input tooltiptext="Ä�á»ƒ Ä‘Äƒng tin á»Ÿ ChuyÃªn má»¥c Káº¾T Báº N báº¡n cáº§n nháº­p sá»‘ Ä‘iá»‡n thoáº¡i di Ä‘á»™ng Ä‘á»ƒ kÃ­ch hoáº¡t tÃ i khoáº£n" name="mobinum" class="txt" size="16" maxlength="16" type="text"></td>
		</tr>
				   
		<tr>
		  <td class="label" valign="top">Lá»±a chá»�n thÃªm:</td>
		  <td>
		  <input name="emelding" id="emelding" value="1" type="checkbox"> <label for="emelding">KhÃ´ng muá»‘n nháº­n báº£n tin qua e-mail</label><br>
		 <input name="hide_email" id="hide_email" value="1" type="checkbox"> <label for="hide_email">Giáº¥u e-mail cá»§a tÃ´i</label>
		 		 <br><br>
		 <input id="chkTerm" onclick="agreeTerm()" name="agree_cond" value="1" type="checkbox"> 
		 <label for="chkTerm"><?php if(isset($text_dieukhoan)) echo $text_dieukhoan;?></a></label> <span class="risk">*</span>
		 		 </td>
		</tr>    
		<tr>
			<td>&nbsp;</td>
			 <td><br><input name="nu" value="" type="hidden"><input id="btnRegSubmit" class="buttonDisabled" name="submit" value="<?php if(isset($text_dangkybutton)) echo $text_dangkybutton;?>" style="width: 100px;" disabled="disabled" type="submit" onclick='return demo();'></td>
		</tr>
		</table>
	  </form>
		 
				
		
		
			</div>
</div>

<script language="javascript" type="text/javascript">
<!--
agreeTerm();
//content=document.getElementById("email");
//if( content != null ){content.focus();}
-->
</script>

<script type="text/javascript">
	var tooltipObj = new DHTMLgoodies_formTooltip();
	tooltipObj.setTooltipPosition('right');
	tooltipObj.setPageBgColor('#EEEEEE');
	tooltipObj.setTooltipCornerSize(10);
	tooltipObj.initFormFieldTooltip();
</script>

<div style=" border:0px solid; border-color: transparent;" align="center">
 <script type="text/javascript" src="register.php_files/ads_box_20.ads"></script><script type="text/javascript" src="register.php_files/admicro_core.js"></script><script type="text/javascript" src="register.php_files/ads_code_20.ads"></script><div id="ads_zone20"><div style="clear:both"></div></div>
 </div>
  
			</td>
						
					


<div style="clear:left"><span></span></div>
<script type="text/javascript" src="register.php_files/ads_box_497.ads"></script><script type="text/javascript" src="register.php_files/_fr.js"></script><script type="text/javascript" src="register.php_files/ads_code_497.ads"></script><div id="ads_zone497"><!--[if gte IE 5.5]><![if lt IE 7]><style type="text/css"> #admFooter{ /* IE5.5+/Win - this is more specific than the IE 5.0 version */ right: auto; bottom: auto; left: expression( ( 0 - admFooter.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' ); top: expression( ( 0 - admFooter.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' ); } </style><![endif]><![endif]--><div style="height: 230px; display: block; position: fixed; bottom: 0px;" id="admFooter"><div id="ads_zone497_slot1"></div></div></div><div class="admC_item_zone"></div><div class="admF_item_zone"><div class="admFRight"><div class="admFMain"></div></div></div><iframe name="adm_smallbiz_zone_500_iframe" id="adm_smallbiz_zone_500_iframe" style="display: none; height: 0pt; width: 0pt; overflow: hidden;" scrolling="no"></iframe></div><script type="text/javascript" src="register.php_files/smallbiz_zone_500.js" id="Script_zone_500"></script><div style="background:url(http://logging.admicro.vn/_zc.1.gif?_domain=http://rongbay.com/register.php&amp;_ci=1004292|64274&amp;_zid=500); height:0; width:0"><span style="width:0;height:0"></span></div></div></div></div><script language="javascript" src="register.php_files/pp.js"></script></div>
<!--Begin Toolbar-->
<!--<div id="presence" class="clearfix" style="">
	<div id="presence_ui" class="clearfix">		
		<div id="presence_bar_right">
			<div class="notify_icon" onclick="return shop.cart.historyCart();">
				<div class="titletip"><strong>CÃ¡c Ä‘Æ¡n hÃ ng Ä‘Ã£ thanh toÃ¡n</strong></div>
			</div>
			<div id="toTop" class="view_cart" onclick="return shop.cart.frmViewCart(0,0,1);">
				<span style="color:#b30000;" id="num_item_cart"><b>CÃ³ 0 tin</b></span>
				<div class="titletip"><strong>Xem giá»� hÃ ng</strong></div>
			</div>
			<div class="typing_icon" onclick="return shop.cart.frmViewCart(0,0,1);">
				<div class="titletip"><strong>Thanh toÃ¡n cho giá»� hÃ ng</strong></div>
			</div>
		</div>
	</div>
</div>-->

 


<script type="text/javascript">


jQuery(document).ready(function(){	
	
	if (shop.is_ie6() || shop.is_ie7()) {
	  jQuery(window).scroll(function()
	  {
		var top = 0;
		if(document.documentElement && document.documentElement.clientHeight)
		{
		  top = document.documentElement.scrollTop;
		}
		else if(document.body)
		{
		  top = document.body.scrollTop;
		}
		top = top + jQuery(window).height() - 30;
		jQuery("#presence").css('top', top+"px");	
	  });
	}
  
	jQuery(".notify_icon").mouseover(function(){
		jQuery(this).addClass('notify_icon_hover');
	})
	.mouseout(function() {
		jQuery(this).removeClass('notify_icon_hover');
	});
	
	jQuery(".typing_icon").mouseover(function(){
		jQuery(this).addClass('typing_icon_hover');
	})
	.mouseout(function() {
		jQuery(this).removeClass('typing_icon_hover');
	});
	
	jQuery(".view_cart").mouseover(function(){
		jQuery(this).addClass('view_cart_hover');
	})
	.mouseout(function() {
		jQuery(this).removeClass('view_cart_hover');
	});
});


//setMethod(1);

</script>

<?php echo $column_right; ?><?php echo $footer; ?>